home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / math / pmcalc3o.zip / pmCalc_E.HLP (.txt) < prev    next >
OS/2 Help File  |  1997-08-04  |  72KB  |  887 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Introduction ΓòÉΓòÉΓòÉ
  3.  
  4.   pmCalc 
  5.  
  6.    o  does not try to simulate a real calculator: For example, it does not have 
  7.       an "=" button. The notation of the formulas is like in a programming 
  8.       language. Nevertheless, there is a calculator-like mouse interface. 
  9.  
  10.    o  is Shareware. Without a registration key, you will get sometimes an info 
  11.       screen at the beginning - there's no other limitation. 
  12.  
  13.    o  is a true 32 bit program, available for Win95/NT and OS/2. 
  14.  
  15.    o  recalculates the result after every keystroke. You have an entry field 
  16.       and a separate result field. If a formula is incomplete or erroneous, 
  17.       pmCalc will display a detailed error message instead of the result. You 
  18.       can choose between different output formats. 
  19.  
  20.    o  supports easy transfer of input and output through the clipboard. 
  21.  
  22.    o  enables calulating with variables: X in the main entryfield will be 
  23.       replaced by the contents of the X entryfield. 
  24.  
  25.    o  recalculates variables like X if the result is given: for this regression 
  26.       in one dimension, press the reg button 
  27.  
  28.    o  supports scientific functions (press the fct button for an extended 
  29.       keyblock). 
  30.  
  31.    o  offers programmers functionality: hexadecimal, octal, binary and Ascii 
  32.       input, overflow simulation of integer variables (press the prg button). 
  33.  
  34.    o  remembers the last 20 inputs (last20 list) and saves formulas 
  35.       permanently. 
  36.  
  37.    o  supports hypertext online help. Press the help button and after that the 
  38.       button you want to have explained. You can simply press F1, too. Press 
  39.       help two times to get the help contents. 
  40.  
  41.    o  calculates with double precision floating point values, so you have 15 
  42.       correct digits. 
  43.  
  44.    o  has got a Pentium bug correction; the overflow simulation works correctly 
  45.       even with a defective Pentium II. 
  46.  
  47.  
  48. ΓòÉΓòÉΓòÉ 2. Installation ΓòÉΓòÉΓòÉ
  49.  
  50.  Simply copy pmCalc.exe and pmCalc_E.hlp to your harddisk into a directory of 
  51. your choice. 
  52.  
  53. pmCalc_G.hlp is the german hypertext helpfile. 
  54.  
  55. You can make a program object on your desktop using the program template in 
  56. your template folder. 
  57.  
  58.  Last20.txt is a "last20 list" (history file) with sample formulas. If you 
  59. don't copy the file last20.txt, pmCalc creates a new file last20.txt. 
  60.  
  61. Please note that pmCalc has got a system menu (single clicking the left close 
  62. button). 
  63.  
  64. If you want to have pmCalc with colors, also copy colorsmp and type into the 
  65. program object settings notebook parameter field: 
  66. color:COLORSMP 
  67.  
  68. pmCalc can be started with a lot of program parameters, so you can create 
  69. several program icons with different arguments. 
  70.  
  71. A nice idea to start pmCalc without the launchpad * 
  72.  
  73.  
  74. ΓòÉΓòÉΓòÉ 3. Important items ΓòÉΓòÉΓòÉ
  75.  
  76.   See all clear, clipboard, input, last20 list, output format. 
  77.  
  78. You see, pmCalc can have colors. 
  79.  
  80.  
  81. ΓòÉΓòÉΓòÉ 4. Notation of the formulas ΓòÉΓòÉΓòÉ
  82.  
  83.  subchapters: 
  84. keyboard and mousebuttons 
  85. Ignored characters 
  86. Order of operators 
  87. Notation of floating point numbers 
  88. upper and lower case letters 
  89.  
  90. next chapter: 
  91. Output format 
  92.  
  93.  
  94. ΓòÉΓòÉΓòÉ 4.1. keyboard and mousebuttons ΓòÉΓòÉΓòÉ
  95.  
  96.  You can use the mouse buttons or the keyboard by typing directly into the main 
  97. entryfield or in the V, W, X and Y variable entryfields. To learn the notation 
  98. of  pmCalc formulas, use the mouse buttons. 
  99.  
  100. (See important items) 
  101.  
  102. pmCalc offers a useful feature for generating brackets when using the mouse for 
  103. input. If your input is 1+2 and you want to multiply the result by 3, simply 
  104. enter 
  105.  *  *  3 . 
  106. pmCalc automatically changes the input into (1+2)*3 . 
  107. This feature works with * , / , pwr and the programmers operators. 
  108.  
  109.  
  110. ΓòÉΓòÉΓòÉ 4.2. Ignored characters ΓòÉΓòÉΓòÉ
  111.  
  112.  You can always use spaces in your formulas; they will be ignored, even within 
  113. a number. 
  114.  
  115. You can write comments in brackets [ ], also several times. You can use the 
  116. keyboard or the com (comment) button. 
  117.  
  118. In hexadecimal numbers, you are allowed to use ":", which will be ignored. So a 
  119. hex-number can be #h12dc:0bf7 . 
  120.  
  121.  
  122. ΓòÉΓòÉΓòÉ 4.3. Order of operators ΓòÉΓòÉΓòÉ
  123.  
  124.  The order of calculating the operators without brackets is the following: 
  125.  
  126.    o  ' ( min ) min'sec (see minutes) 
  127.    o  ^ ( pwr ) to the Power of 
  128.    o  programmers operators 
  129.    o  / divide, * multiply 
  130.    o  - minus, + plus 
  131.  
  132.  
  133.  You can change the order by using parenthesis (  ). There is no limit of 
  134.  levels. 
  135.  
  136.  
  137. ΓòÉΓòÉΓòÉ 4.4. Notation of floating point numbers ΓòÉΓòÉΓòÉ
  138.  
  139.  Floating point numbers can be written with dot or comma, like 12.34 or 12,34 . 
  140. You can use thousand-commas (American) or thousand-dots (German) like 10,000.00 
  141. or 10.000,00 . pmCalc interprets commas and dots as equivalent. The last 
  142. dot/comma will be interpreted, other dots/commas aren't interpreted. For 
  143. example: 1,23.4.5.6.78 is the same as  123456.78 . 
  144.  
  145.  
  146. ΓòÉΓòÉΓòÉ 4.5. upper and lower case letters ΓòÉΓòÉΓòÉ
  147.  
  148.  Note that pmCalc is case-sensitive. The name of the constant 3.1415... is Pi, 
  149. not pi, the name of the constant 2.7182... is Eul not eul (Euler constant). 
  150. Also you aren't allowed to write functions like sin() with capital letters. If 
  151. you aren't sure, use the mouse buttons to learn the notation. Hex numbers 
  152. aren't case sensitive. 
  153.  
  154.  
  155. ΓòÉΓòÉΓòÉ 5. Output format ΓòÉΓòÉΓòÉ
  156.  
  157.  subchapters: 
  158. General  precision  fraction  min sec 
  159.  
  160. next chapter: 
  161. special features 
  162.  
  163.  
  164. ΓòÉΓòÉΓòÉ 5.1. General ΓòÉΓòÉΓòÉ
  165.  
  166.  You can choose how the result will be shown (output format). Enter a big 
  167. number and try the options in the drop down field. 
  168.  
  169.  
  170. ΓòÉΓòÉΓòÉ 5.2. precision ΓòÉΓòÉΓòÉ
  171.  
  172.  With precision, you can enter the number of digits behind the dot. Note that 
  173. "precision 0" changes the result 2.4 to 2. If you press X< to copy the result 
  174. into the X field, "2" with the value 2.000 is copied and not 2.4. 
  175.  
  176.  
  177. ΓòÉΓòÉΓòÉ 5.3. fraction ΓòÉΓòÉΓòÉ
  178.  
  179.  With the output format "fraction", pmCalc converts a floating point number 
  180. into a fraction. For example type 2.35888888 and you will get 2123/900. 
  181. Sometimes, this can take half a second because pmCalc has to employ a "trial 
  182. and error" strategy. 
  183.  
  184. Now enter a random digit like 2.36428754732 and change the precision. A higher 
  185. precision will force a small delay and very high precision will generate an 
  186. error "correct fraction not found". 
  187.  
  188.  
  189. ΓòÉΓòÉΓòÉ 5.4. min sec ΓòÉΓòÉΓòÉ
  190.  
  191.   /60 hour min sec divides the result by 60. For example 121 will be shown as 2 
  192. h 1 min . Choosing result min'sec together with the "min" button, you can 
  193. simply calculate time: 18'21 - 14'43 = 3'38 . 
  194.  
  195.  
  196. ΓòÉΓòÉΓòÉ 6. special features ΓòÉΓòÉΓòÉ
  197.  
  198.  special features 
  199.  
  200. subchapters: 
  201. Minutes  Percent button  Pentium bug  Changing colors  special buttons 
  202.  
  203. next chapter: 
  204. V, W, X and Y entryfields 
  205.  
  206.  
  207. ΓòÉΓòÉΓòÉ 6.1. Minutes ΓòÉΓòÉΓòÉ
  208.  
  209.  You can enter hours, minutes and seconds: 2'30"45. ' and " are interpreted 
  210. similarly, so 2'30'45 is also allowed. 
  211. It's calculated as: 
  212.  
  213. h + min/60 + sec/3600 
  214.  
  215.  
  216. ΓòÉΓòÉΓòÉ 6.2. Percent button ΓòÉΓòÉΓòÉ
  217.  
  218.  The percent button always relates to the last operator: 
  219.  
  220.  1000+25% = 1250 
  221.  1000-25% =  750 
  222.  1000*25% =  250 
  223.  1000/25% = 4000 
  224.  
  225. You can use parenthesis (  ) with the percent button, also variables like X are 
  226. allowed. 
  227.  
  228.  1000+(12+13)% 
  229.  1000+X% 
  230.  
  231.  
  232. ΓòÉΓòÉΓòÉ 6.3. Pentium bug ΓòÉΓòÉΓòÉ
  233.  
  234.  pmCalc has an automatic Pentium bug correction. When you have a defective 
  235. Pentium and enter a division where defective Pentiums don't find the correct 
  236. result, you will get the correct result and hear a beep. For example 
  237. 5505001/294911 , the correct result is 18,66665197 ; the wrong result would be 
  238. 18,66600093 . 
  239.  
  240. Also the Pentium II processor has got a bug: Sometimes the processor doesn't 
  241. give a correct overflow warning if a big number doesn't fit a smaller variable 
  242. (see programmers functions). Because pmCalc has got a different strategy 
  243. (pmCalc compares the content of the smaller variable with the old double 
  244. value), overflow simulation works correctly even with a defective Pentium II. 
  245.  
  246.  
  247. ΓòÉΓòÉΓòÉ 6.4. Changing colors ΓòÉΓòÉΓòÉ
  248.  
  249.  If you have nothing to do (e. g. making boring phone calls), you can drag and 
  250. drop OS/2 system colors to the pmCalc buttons and entryfields, see color 
  251. sample. To change the color of the font instead of the button, press Ctrl while 
  252. dropping. To store the colors in a file, you have to enter a program parameter 
  253. in the pmCalc program object settings notebook parameter field: 
  254.  
  255. color:filename 
  256.  
  257. As default, the file has to be placed in the directory where PMCALC.EXE is 
  258. located. The file format is binary, so you can't edit the file. The file 
  259. COLORSMP is a sample color file. 
  260.  
  261. If you have spent a lot of time changing colors, make a copy of your color 
  262. file. Sometimes pmCalc corrupts the color file. * 
  263.  
  264. If you think your colors are very nice, you can send the file to me by email. 
  265.  
  266.  
  267. ΓòÉΓòÉΓòÉ 6.5. special buttons ΓòÉΓòÉΓòÉ
  268.  
  269.   AC all clear. Clears the main, X and Y entryfields, saves the old input in 
  270. the last20 list 
  271.  
  272.  EXP exponent. 1.0e3 means 1.0 * 10^3 = 1000 
  273.  
  274.  pwr means x power of y  (x^y) 
  275. sample: 2^4 = 2*2*2*2 = 16 
  276.  
  277.  1/ 1/(x): reciprocal of x 
  278.  
  279.  undo restores the last input which was not changed for 2.5 seconds. 
  280.  
  281.  
  282. ΓòÉΓòÉΓòÉ 7. V, W, X and Y entryfields ΓòÉΓòÉΓòÉ
  283.  
  284.  In the V, W, X and Y field, you can enter numbers or formulas which can be 
  285. changed without changing the main entry field. For example, the formula in the 
  286. main entry field is "(X+Y)/2", and the X field is "5", the Y field is "3+4", 
  287. pmCalc replaces the X and Y characters in the main entry field with the 
  288. occurences of the X and Y field in brackets: 
  289.  
  290. ((5)+(3+4))/2 
  291.  
  292. The result is 6. 
  293.  
  294. Note that there's a regression mode where you can recalculate variables like X 
  295. when the result is known. 
  296.  
  297.  
  298. ΓòÉΓòÉΓòÉ 8. Regression ΓòÉΓòÉΓòÉ
  299.  
  300.  If you have got a formula with variables X, Y, V, W and the result is given, 
  301. you can recalculate the value of a variable, e. g. 
  302.  
  303. 3*X^2 + 8*X + 3 = 206 
  304.  
  305. What's the value of X ? To get an answer, do the following: 
  306.  
  307.    o  Enter the formula without the equal character in the main entry field and 
  308.       without the number on the right side of the equals sign 
  309.    o  you can optionally enter a value of your choice into the X field 
  310.    o  press the reg button 
  311.    o  enter 206 in the regression entry field 
  312.    o  press the X? button. 
  313.  
  314.  
  315.  pmCalc has to employ a "trial and error" strategy, but it works very fast, 
  316.  hardly without any delay. 
  317.  
  318.  With the = button near the regression entry field, the contents of the pmCalc 
  319.  result field is copied into the regression entry field. 
  320.  
  321.  With the precision spinbutton, you can influence the regression: a precision 
  322.  of 4 will calculate the X value to 4 decimal places. Because of rounding 
  323.  effects, it's possible that the regression doesn't hit the result exactly, 
  324.  e.g. in the pmCalc result field there's 19.9997 even if the regression entry 
  325.  field is 20. 
  326.  
  327.  It can happen that if the X field is empty, pmCalc does not find any X value 
  328.  or, if there are more than one possible X values, it does not hit the result 
  329.  you are interested in. In these cases, you can enter a start value in the X 
  330.  field which is near the result. For example enter X*X into the main entry 
  331.  field, 400 into the regression entry field and -1 into the X field. Then 
  332.  pmCalc finds the X value -20. (There are two correct values: 20 and -20.) 
  333.  
  334.  A good start value can reduce regression calculating time. 
  335.  
  336.  
  337. ΓòÉΓòÉΓòÉ 9. Clipboard ΓòÉΓòÉΓòÉ
  338.  
  339.  subchapters: 
  340. General 
  341. Using Z and autoclip simultaneously 
  342. Export and Import of a formula 
  343. hidden pmCalc 
  344.  
  345. next chapter: 
  346. Saving formulas - the last20 list 
  347.  
  348.  
  349. ΓòÉΓòÉΓòÉ 9.1. General ΓòÉΓòÉΓòÉ
  350.  
  351.  pmCalc can be used with the Clipboard (Clipboard = Z ). 
  352. You can enter a formula like sin(Z/3) "sine of (Clipboard divided by 3)". The 
  353. clipboard may contain a number or a formula. 
  354.  
  355. When autoclip is on, pmCalc automatically writes the result into the clipboard. 
  356.  
  357.  
  358. ΓòÉΓòÉΓòÉ 9.2. Using Z and autoclip simultaneously ΓòÉΓòÉΓòÉ
  359.  
  360.  Using Z and autoclip simultaneously: Every time you copy a number or a formula 
  361. to the clipboard (from another application), pmCalc will grab it and substitute 
  362. it for every Z in its formula. Then the result will be placed into the 
  363. clipboard automatically. So you can use pmCalc in the background. 
  364.  
  365. To test the clipboard function, I recommend using the OS/2 "show clipboard" 
  366. program. * 
  367.  
  368.  
  369. ΓòÉΓòÉΓòÉ 9.3. Export and Import of a formula ΓòÉΓòÉΓòÉ
  370.  
  371.  If you want to export a formula into another application, you can copy it into 
  372. the clipboard by pressing the Z< button next to the main entry field. For To 
  373. re-use the formula, you copy it back to the clipboard and then press the Z> 
  374. button in pmCalc. 
  375.  
  376. pmCalc can save a formula itself. 
  377.  
  378. Note that you are allowed to write comments in brackets [ ]. 
  379.  
  380. You can put several lines from an editor into the clipboard. Pushing the Z> 
  381. button or using the Z variable, pmCalc will change every "Return" into a "+". 
  382. Remember that spaces will be ignored. 
  383.  
  384. With the button = > Z , you can write the input and the result in the clipboard 
  385. simultaneously, for example 
  386.  
  387. 1+1 = 2.0000 
  388.  
  389.  
  390. ΓòÉΓòÉΓòÉ 9.4. hidden pmCalc ΓòÉΓòÉΓòÉ
  391.  
  392.  If your input is a simple "Z" in the main entry field and autoclip is on, you 
  393. can use pmCalc completely in the background. Copying a formula from your editor 
  394. into the clipboard will automatically return the result into the clipboard. 
  395. It can be useful to put the pmCalc-window at the bottom of your desktop, so 
  396. only the result field and the Z-field is shown and everything below the result 
  397. field is outside the desktop. 
  398.  
  399.  
  400. ΓòÉΓòÉΓòÉ 10. Saving formulas - the last20 list ΓòÉΓòÉΓòÉ
  401.  
  402.  subchapters: 
  403. The Last20 List  Saving formulas  Loading formulas  Default formula 
  404.  
  405. next chapter: 
  406. Programmers functionality 
  407.  
  408.  
  409. ΓòÉΓòÉΓòÉ 10.1. The Last20 List ΓòÉΓòÉΓòÉ
  410.  
  411.  pmCalc remembers the last 20 inputs. Every input immediately before pressing 
  412. AC will be placed in the last20 list. In other words, the AC button saves the 
  413. old input and deletes the entry field. 
  414.  
  415. With the up and down buttons near the main entry field, you can reuse older 
  416. inputs. 
  417.  
  418. The current input is lost if you don't press AC , e.g. when recalling a last20 
  419. list entry. 
  420.  
  421. If you exit pmCalc, the last 20 inputs will be saved in the text file 
  422. LAST20.TXT. You can edit this file with an text editor. 
  423.  
  424. You can use your own formula files: A program parameter containing ".TXT" or 
  425. ".PMC" is a filename which is used instead of "LAST20.TXT". So you can drop 
  426. your special formulas to the pmCalc program object. Making an association 
  427. "*.PMC" enables you to start the formula file directly with double-click. 
  428.  
  429.  
  430. ΓòÉΓòÉΓòÉ 10.2. Saving formulas ΓòÉΓòÉΓòÉ
  431.  
  432.  If the input begins with a comment, e.g. 
  433.  
  434. [simple] X + Y*2 
  435.  
  436. and you press AC , the formula will be placed in the last20 list permanently. 
  437. That  means, in the file LAST20.TXT you can have a lot of formulas beginning 
  438. with "[" and 20 normal inputs not beginning with "[". 
  439.  
  440. When changing a formula which is already part of the last20 list (that means, 
  441. it begins with the same comment) the old entry in the last20 list is replaced 
  442. when pressing AC . 
  443.  
  444.  
  445. ΓòÉΓòÉΓòÉ 10.3. Loading formulas ΓòÉΓòÉΓòÉ
  446.  
  447.  If you type only the leading comment of a formula which is already part of the 
  448. last20 list, the formula will be expanded automatically (!). 
  449.  
  450. To try this, simply enter 
  451.  
  452. [sq] 
  453.  
  454. for the square equation formula which is already part of the last20 list. If 
  455. there are any characters (e.g. a space) after the comment brackets, the 
  456. expansion won't work. 
  457.  
  458.  
  459. ΓòÉΓòÉΓòÉ 10.4. Default formula ΓòÉΓòÉΓòÉ
  460.  
  461.  If you enter a formula beginning with 
  462.  
  463. [default] 
  464.  
  465. (in lower case letters), the formula always appears when starting pmCalc. 
  466.  
  467. Note that you can start pmCalc with different last20 lists by using the program 
  468. parameter filename.txt or filename.pmc. With the file association *.pmc, you 
  469. can easy start different pmCalc's with different default formulas. 
  470.  
  471.  
  472. ΓòÉΓòÉΓòÉ 11. Programmers functionality ΓòÉΓòÉΓòÉ
  473.  
  474.  Press the prg button for an extended keyblock. 
  475.  
  476. subchapters: 
  477. numeric forms 
  478. Programmers operators 
  479. Simulation of integer operations 
  480.  
  481. next chapter: 
  482. Scientific functions 
  483.  
  484.  
  485. ΓòÉΓòÉΓòÉ 11.1. numeric forms ΓòÉΓòÉΓòÉ
  486.  
  487.  For hexadecimal input, you can press the hex button or you can write $ or #h. 
  488. After that, a 32-bit numeric value (from 0 to to 4294967295) is expected. ":" 
  489. is ignored. 
  490.  
  491. Other numeric forms and ASCII characters are entered with the buttons oct , bin 
  492. , ASCII or with a hash followed by the characters o for octal, b for binary and 
  493. a for ASCII. So the decimal number 100 can be written as: 
  494.  
  495. 100 
  496. $64 
  497. #h64 
  498. #h0000:0064 
  499. #o144 
  500. #b0110 0100 
  501. #ad 
  502.  
  503. Remember that you are always allowed to use spaces. You can also choose these 
  504. numeric forms in the output format. 
  505.  
  506.  
  507. ΓòÉΓòÉΓòÉ 11.2. Programmers operators ΓòÉΓòÉΓòÉ
  508.  
  509.  The Programmers window offers you new operators. In addition to + , - , / , * 
  510. , you have got the bitwise operators 
  511.  
  512.  and  indicates by the character & 
  513.  or | 
  514.  xor \ 
  515.  shl < (shift left) 
  516.  shr > (shift right) 
  517.  mod ~ (modulo) 
  518.  
  519.  not is a function and takes the form not (X) 
  520.  
  521. The choice of integer variables (long/short/char) has no influence on other 
  522. operators and functions besides the operators shown above. 
  523.  
  524. Modulo calculates the rest of a division, for example 11 modulo 7 = 4. If the 
  525. Programmers Window is closed and all calculations are made by Double floating 
  526. point variables, you can use the modulo operator nevertheless. Modulo is 
  527. calculated then with floating point variables: So Modulo is not an Integer 
  528. specific operator. 
  529.  
  530. If you want to understand the effect of these operators, use the binary input 
  531. and output of pmCalc. 
  532.  
  533.  
  534. ΓòÉΓòÉΓòÉ 11.3. Simulation of integer operations ΓòÉΓòÉΓòÉ
  535.  
  536.  pmCalc lets you calculate with specific integer variables. You can choose 
  537. between 3 * 2 settings: variables of 4, 2 and 1 byte, and signed or unsigned. 
  538. E.g. with the calculation of not(1) and the unsigned setting you will get three 
  539. different results, dependent on the variables you choose. 
  540.  
  541. You can simulate overflow of integer variables. If an overflow occurs, on the 
  542. programmers window "overflow!" is displayed and in the pmCalc result field you 
  543. will see the "wrong" result. 
  544.  
  545. Example: Use "unsigned char" and calculate 255+3. Because a char has only 256 
  546. different values, you will get an overflow and the result is 2. 
  547.  
  548. For Pascal programmers: The expressions long, short, char are the C synonyms 
  549. for LONGINT, INTEGER, BYTE. "Unsigned short" is a WORD. In Pascal, LONGINT and 
  550. INTEGER are signed, BYTE is unsigned. 
  551.  
  552.  
  553. ΓòÉΓòÉΓòÉ 12. Scientific functions ΓòÉΓòÉΓòÉ
  554.  
  555.  pmCalc supports scientific functions (press the fct button for an extended 
  556. keyblock). 
  557.  
  558. subchapters: 
  559. Trigonometric Functions  Logarithmic functions  other functions 
  560.  
  561. next chapter: 
  562. program parameters 
  563.  
  564.  
  565. ΓòÉΓòÉΓòÉ 12.1. Trigonometric Functions ΓòÉΓòÉΓòÉ
  566.  
  567. sin(x)   sine of x
  568. cos(x)   cosine of x
  569. tan(x)   tangent of x
  570. asin(x)  arcsine: inverse function of sin(x)
  571.      asin(sin(x)) = x
  572. acos(x)  arccosine: inverse function of cos(x)
  573. atan(x)  arctangent: inverse function of tan(x)
  574.  
  575. Pi     the constant Pi (3,1415...)
  576.  
  577. With the checkbutton degree you can choose between degree and radian input. If 
  578. degree is activated, trigonometric functions are running with degrees. For 
  579. example, sin(90) is 1.0000. If you turn degree off, you can enter radian input. 
  580. The equivalent input would now be sin(Pi/2). 
  581.  
  582.  
  583.  
  584.                             degree and radial values
  585.  
  586.  
  587.  
  588.  
  589.                        Figure of Sine, Cosine and Tangent
  590.  
  591.  
  592.  
  593.  
  594. Sine and Cosine curve
  595.  
  596.  
  597. ΓòÉΓòÉΓòÉ 12.2. Logarithmic functions ΓòÉΓòÉΓòÉ
  598.  
  599. ln(x)   natural logarithm of x
  600. log(x)   logarithm of x, base 10
  601.  
  602. Eul    the euler constant (2.71828...)
  603.  
  604. Eul^x is the inverse function of ln(x). 
  605. 10^x is the inverse function of log(x). 
  606.  
  607.  
  608. ΓòÉΓòÉΓòÉ 12.3. other functions ΓòÉΓòÉΓòÉ
  609.  
  610. frac(x)  fraction:  frac(67.89) = 0.89
  611. int(x)   integer part:  int (67.89) = 67.00
  612. abs(x)   absolute value:  abs(12) = 12  abs(-12) = 12
  613.  
  614. fac(x)   x!  factorial of x
  615.      fac(4) = 1*2*3*4 = 24
  616.      floating point numbers are converted by int(abs(x))
  617.  
  618. sqr(x)   square of x, equal to x^2
  619. sqrt(x)  square root of x, equal to x^(1/2)
  620.  
  621.  
  622. ΓòÉΓòÉΓòÉ 13. program parameters ΓòÉΓòÉΓòÉ
  623.  
  624.  Program parameters can be entered in the "parameter" field of the pmCalc 
  625. program object settings notebook. 
  626.  
  627. When starting pmCalc from the commandline, you can simply enter parameters 
  628. (arguments) after "pmCalc". Note that most entries are case-sensitive, the 
  629. order makes no difference. 
  630.  
  631. A number specifies the output precision. 
  632.  
  633. A double-quoted string specifies the output format. It has to match exactly one 
  634. of the strings available in the output format field. 
  635.  
  636. input:sin(X)*2 starts pmCalc with the formula "sin(X)*2" in the main entry 
  637. field. Note that you have to use quotes if you have got spaces in your formula, 
  638. e.g. "input:sin(X) * 2" . You can also choose a default entry by using the 
  639. default formula. 
  640.  
  641. autoclip makes the autoclip checkbox on when starting pmCalc. 
  642.  
  643. radial turns the "degree" checkbox off when starting pmCalc, degree turns it 
  644. on. 
  645.  
  646. iconized starts pmCalc iconized, maximized starts pmCalc maximized. Clicking 
  647. into the "pmCalc" entry of the tasklist shows pmCalc. 
  648.  
  649. Filename.txt or Filename.pmc uses a specific file for the Last20 list instead 
  650. of the default LAST20.TXT file. 
  651.  
  652. color:filename is for loading and saving position and button colors in the file 
  653. "filename". 
  654.  
  655. Examples: 
  656.  
  657. "scientific (exp)" 10 
  658.  
  659. 2 "thousand-comma" 
  660.  
  661. input:Z autoclip iconized 
  662. starts pmCalc to use in the background. 
  663.  
  664.  
  665. ΓòÉΓòÉΓòÉ 14. About pmCalc ΓòÉΓòÉΓòÉ
  666.  
  667.  subchapters: 
  668. Shareware registration 
  669. bugs and improvements 
  670. Disclaimer 
  671. Contacting the author 
  672. Another pmCalc program 
  673. other programs 
  674. About this hypertext 
  675.  
  676.  
  677. ΓòÉΓòÉΓòÉ 14.1. Shareware registration ΓòÉΓòÉΓòÉ
  678.  
  679.  This program is Shareware. If you register pmCalc, you will get a registration 
  680. code you have to enter in the pmCalc main entry field and select "process 
  681. registration" in the system menu. A new pmCalc.exe file is not necessary. 
  682.  
  683. The registration fee is 30 Dollars,  (50 Deutsche Mark) . 
  684.  
  685. When ordering more than one licenses, you will get a 30% discount for every 
  686. additional license. 
  687.  
  688. You can register this software with Compuserve Software registration. Go SWREG 
  689. . The Registration ID is 10704 , the registration fee 30$ . 
  690.  
  691. If you live in America and don't have a Compuserve account, then please contact 
  692. BMT micro . See BMTORDER.FRM for details. 
  693.  
  694. BMT Micro, Inc. 
  695. 910-791-7052 Voice / 910-350-2937 Fax 
  696. finger tbrad@wilmington.net for PGP public key 
  697. http://www.bmtmicro.com 
  698. ftp.bmtmicro.com/bmtmicro 
  699. alternate email:  bmt01@ibm.net 
  700.  
  701. If you don't have a Compuserve account and don't want to mail BMT Micro, then 
  702. put banknotes into an envelope! If you would send foreign currency like Dollar 
  703. to my bank account, I would have to pay 15 DM (10$) changing fee! Do not send 
  704. cheques in foreign currencies, either ! Eurocheques in Deutsche Mark are okay. 
  705. If you can send Deutsche Mark (for example you live in Germany), my bank 
  706. account Number is: Dresdner Bank Ottobrunn (Germany), Bank Code 700 800 00, Nr. 
  707. 075 64 62 400. 
  708.  
  709. My postal address is: 
  710.  
  711. Dr. Martin Vieregg 
  712. Hubertusstr. 26 
  713. D-85521 Ottobrunn 
  714. Germany 
  715.  
  716. The E-Mail address is: 
  717. 100661.626@compuserve.com 
  718.  
  719.  
  720. ΓòÉΓòÉΓòÉ 14.2. bugs and improvements ΓòÉΓòÉΓòÉ
  721.  
  722.  What's new in pmCalc 3.0 
  723.  
  724. A lot of minor improvements; system menu. First version available for Win95/NT. 
  725. Some minor bugfixes in the new regression and programmers functionality. 
  726.  
  727. pmCalc 2.90, 2.0 and 1.0 were available for OS/2 only. 
  728.  
  729. What's new in pmCalc 2.9 
  730.  
  731. Regression and new Programmers functionality. 
  732.  
  733. What's new in pmCalc 2.0 
  734.  
  735.    o  several bugfixes 
  736.    o  binary, octal, ASCII input and output 
  737.    o  percent button 
  738.    o  fraction output 
  739.    o  last20 list, easy save and restore formulas 
  740.    o  saving colors and window position 
  741.    o  increased number of variable entryfields 
  742.    o  more detailed docu, see graphics in trigonometric functions and important 
  743.       items 
  744.    o  new buttons for "home" and "end" of the cursor in the main entry field, 
  745.       button for copying result into main entry field 
  746.    o  several new program parameters 
  747.    o  several minor improvements. 
  748.  
  749.  
  750.  Known bugs: 
  751.  The iconized window won't show the pmCalc-Icon. 
  752.  The output format - drop-down box and the precision entryfield does not 
  753.  remember colors. (Perhaps a bug in OS/2 Warp? I have no fixpacks.) 
  754.  Sometimes pmCalc corrupts the color file. (I haven't got any idea what's the 
  755.  reason.) 
  756.  
  757.  Improvements and fixed bugs 2.0 to 2.9: 
  758.  
  759.    o  fixed bug: -min'sec forces an incorrect result 
  760.    o  Saving X, Y, V, W values when pmCalc saves a formula. 
  761.  
  762.  
  763.  Improvements and fixed bugs 0.90 to 1.00: 
  764.  
  765.    o  tan() und atan() are OK now 
  766.    o  numeric overflow has got better error handling 
  767.    o  output result "normal (dot)" and "normal (comma)" 
  768.    o  comments in brackets [ ] allowed 
  769.    o  hypertext help. 
  770.  
  771.  
  772.  Of course, I can't test all possible formulas with pmCalc. It is possible that 
  773.  pmCalc calculates wrong results under certain circumstances. I would be very 
  774.  interested in knowing such bugs. Please write a letter if you find such a bug. 
  775.  
  776.  
  777. ΓòÉΓòÉΓòÉ 14.3. Disclaimer ΓòÉΓòÉΓòÉ
  778.  
  779.  pmCalc is provided as is and comes with no warranty of any kind, either 
  780. expressed or implied. In no event will the author be liable for any damages 
  781. resulting from the use of this software. 
  782.  
  783.  
  784. ΓòÉΓòÉΓòÉ 14.4. Contacting the author ΓòÉΓòÉΓòÉ
  785.  
  786.   Martin Vieregg, 32. I've studied economics. My main job is working in my own 
  787. consulting company. Our special subject is public transport, especially 
  788. railways. The title of my doctoral (PhD) thesis was "increasing efficiency of 
  789. railway long-distance passenger traffic". 
  790.  
  791. My email address is: 
  792.  
  793. from Compuserve: 100661,626 
  794. from Internet: 100661.626@COMPUSERVE.COM 
  795.  
  796. My homepage is: 
  797.  
  798. http://ourworld.compuserve.com/homepages/vrb/VIEREGG.HTM 
  799.  
  800. Here you will get newest information about my programs, bug reports and beta 
  801. versions. 
  802.  
  803. My postal address is: 
  804.  
  805. Dr. Martin Vieregg 
  806. Hubertusstr. 26 
  807. D-85521 Ottobrunn 
  808. Germany 
  809.  
  810.  
  811. ΓòÉΓòÉΓòÉ 14.5. Another pmCalc program ΓòÉΓòÉΓòÉ
  812.  
  813.  Please notice that a second "PMCALC" exists. PMCALC.ZIP for OS/2 is an IBM 
  814. employee written software, Tim Baldwin, U.K. * Tim Baldwin's PMCALC imitates a 
  815. real pocket calculator. To distinguish in archives, this calculator is always 
  816. shipped with the version number in the zip file name, Baldwin's is not. 
  817.  
  818.  
  819. ΓòÉΓòÉΓòÉ 14.6. other programs ΓòÉΓòÉΓòÉ
  820.  
  821.  Here is the list of all other programs in English I've programmed. 
  822.  
  823. You will find them in the internet: visit my Homepage 
  824.  
  825. http://ourworld.compuserve.com/homepages/vrb/VIEREGG.HTM 
  826.  
  827. both Win95/NT and OS/2 
  828.  
  829. HMAKEO35.ZIP (OS/2) HMAKEW35.ZIP (Win32) HyperMake 3.5. Creates HTML files, 
  830. Winhelp and OS/2 Help from a more simple and intelligent ASCII format. 
  831. Automatic linking, window arrangement, helptables, footnotes, tables and other 
  832. features. Shareware if source file > 20 kB. See hypertext 
  833.  
  834. CD_SHORT.ZIP cd-short 1.5/2.0, instead of whole directory names you enter only 
  835. substrings. Searching through several drives and opening OS/2 WPS folders. 
  836. Freeware. 
  837.  
  838. only OS/2 
  839.  
  840. TINYALRM.ZIP TinyAlarm 2.1, a simple countdown with a slider from 1 to 60, an 
  841. alarm by entering alarm time and a chime. System shutdown. Freeware. 
  842.  
  843. ZIPSHELL.ZIP Simple Zipshell, a handful of tiny batchfiles for handling ZIP- 
  844. and ARJ-files with the WPS. Freeware. 
  845.  
  846. CLEAR10E.ZIP Clear 1.0 Creating file lists for deleting and backup. Works 
  847. together with Info-Zip. Freeware. 
  848.  
  849.  
  850. ΓòÉΓòÉΓòÉ 14.7. About this hypertext ΓòÉΓòÉΓòÉ
  851.  
  852.  I have created this hypertext by using my HyperMake hypertext tool. It creates 
  853. Winhelp, OS/2 help and HTML files from one simple and intelligent ASCII format. 
  854. If a phrase is marked with an "index char", it is placed in the index and all 
  855. other occurrences in the hypertext will get a link automatically. HyperMake 
  856. also creates Helptables, and for line drawing, footnotes, window arrangement 
  857. (and so on) there are short commands. The links at the end of some windows 
  858. "subchapters... next chapter..." are created automatically. HyperMake is 
  859. shareware for source files > 20 kB. 
  860.  
  861. Visit my homepage for more information about HyperMake. 
  862.  
  863. http://ourworld.compuserve.com/homepages/vrb/VIEREGG.HTM 
  864.  
  865. end of hypertext 
  866.  
  867.  
  868. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  869.  
  870. Open the settings notebook of the desktop, open the "menu"-page and drag your 
  871. pmcalc program object into the second yellow text-window. Now you have a new 
  872. menu item in your standard-context-menu like "shutdown": "pmCalc". 
  873.  
  874.  
  875. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  876.  
  877. It happened once to me. Sorry, but I haven't got any idea what's the reason. 
  878.  
  879.  
  880. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  881.  
  882. You'll find it in the system / productivity folder 
  883.  
  884.  
  885. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  886.  
  887. We had both shipped our pmCalc programs in March 95